package ctvc;

public class Main2 {
    public static void main(String[] args) {
        String source="cvtetocvte";
        String target="cvte";
        System.out.println(indexFind(source,target));
    }

    public static int indexFind(String source,String target){
        int ans=source.indexOf(target,0);

        return ans;
    }
}
